QuaternaryList.GetItemsBySecondaryIndex(string, TIndexKey) method¶
Defined in
Type: QuaternaryListReactiveList.Reactive.Collections
Assembly: ReactiveList.Reactive.dll
Applies to
net11.0, net10.0, net47, net471, net472, net48, net481
public IEnumerable<T> GetItemsBySecondaryIndex<TIndexKey>(string indexName, TIndexKey key) where TIndexKey : notnull
View source (opens in a new tab)
Summary: Retrieves all entities of type T that match the specified key in the given secondary index.
Type parameters
| Name | Description |
|---|---|
TIndexKey | The type of the key used to query the secondary index. |
Parameters
| Name | Type | Description |
|---|---|---|
indexName | string (opens in a new tab) | The name of the secondary index to query. |
key | TIndexKey | The key value to search for within the specified index. |
Returns: IEnumerable
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException (opens in a new tab) | indexName is null. |